﻿package Stage 
{
	import flash.utils.Timer;
	import flash.events.TimerEvent;

	import Base.Log.*;
	import Common.*;
	import Events.*;
	
	
	/**
	 * ...
	 * @author fox
	 */
	public class LoginStage extends GameState
	{
		public function LoginStage() 
		{
			Type = GameState.LOGIN;
		}
		
		public override function update():void
		{
			// update
			
			// Log.logOut( "LoginStage Update." );
		}
		
		public override function run():void
		{
			// game logic run
			
			
			// Log.logOut( "LoginStage Run." );
		}
		
		public override function release():void
		{
		}
		
		public override function init():void
		{
			LogManager.logOut( "LoginStage init." );
			
			var cModuleEvent:ModuleEvent = new ModuleEvent( ModuleEvent.LOGINSTAGE );
			ModuleEventManager.instance.dispatchEvent( cModuleEvent );
		}
		
		/////////////////////////////////////////////////////////////
	
		
	}
	
}